/*
 *--------------------------------------------------------------------------
 *   Battlefield - A Realtime Network Multiplayer Game
 *   =======================================================
 *   Developed by Group D02 - 2009/2010 Semester 4 - CS2103
 *     Harry Nguyen Duy Hoang <nnduyhoang@yahoo.co.uk>
 *     Kent Chng Siang Rong <fivefootway@gmail.com>
 *     Lim Yong Peng <limpeng1986@gmail.com>
 *     Loh Xiankun <u0807185@nus.edu.sg>
 *   Instructed by
 *     Dr. Damith C.Rajapakse <damith@gmail.com>
 *   =======================================================
 *   $Id: Mission.java 580 2010-07-26 12:26:56Z YongPeng $
 *   $LastChangedDate: 2010-07-26 12:26:56 +0000 (Mon, 26 Jul 2010) $
 *   $LastChangedBy: YongPeng $
 *--------------------------------------------------------------------------
 */
package battlefield.entity;

import java.io.Serializable;

/**
 *
 * @author Victor
 */
public class Mission implements Serializable {

    private String imageSrc;
    private String missionName;
    private int goldReceive;
    private int missionComplete = 0;
    private boolean enable;
    private int missionLevel;

    /**
     * Construct the Mission object
     *
     * 
     */
    public Mission()
    {

    }

    /**
     * Returns the level of the mission
     * @return int
     */
    public int getMissionLevel() {
        return missionLevel;
    }

    /**
     * Sets the level of the mission
     * @param missionLevel
     */
    public void setMissionLevel(int missionLevel) {
        this.missionLevel = missionLevel;
    }

    /**
     * Check if the mission is enabled or not
     * @return boolean
     */
    public boolean isEnable() {
        return enable;
    }

    /**
     * Enable the mission
     * @param enable
     */
    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    /**
     * Returns the number of completed missions
     * @return
     */
    public int getMissionComplete() {
        return missionComplete;
    }

    /**
     * Set the number of mission completed
     * @param missionComplete
     */
    public void setMissionComplete(int missionComplete) {
        this.missionComplete = missionComplete;
    }

    /**
     * Returns the number of gold receive
     * @return
     */
    public int getGoldReceive() {
        return goldReceive;
    }

    /**
     * Sets the number of gold received
     * @param goldReceive
     */
    public void setGoldReceive(int goldReceive) {
        this.goldReceive = goldReceive;
    }

    /**
     * Return the image source
     * @return String
     */
    public String getImageSrc() {
        return imageSrc;
    }

    /**
     * Sets the image source
     * @param imageSrc
     */
    public void setImageSrc(String imageSrc) {
        this.imageSrc = imageSrc;
    }

    /**
     * Returns the name of the mission
     * @return String 
     */
    public String getMissionName() {
        return missionName;
    }

    /**
     * Sets the mission name
     * @param missionName
     */
    public void setMissionName(String missionName) {
        this.missionName = missionName;
    }

}
